# encoding=utf-8
class BaseAtt:
    '''
    所有公共的配置
    '''
    isDebug = True  # true为debug模式，内外，反之为外网。
    if isDebug:
        '''内网测试地址'''
        urlForLbtLogin = 'http://192.168.32.208:6044/lbt-front/'
        sql_ip = '192.168.32.207'
        sql_user = 'shenzhou'
        sql_pass = 'shenzhou'
        sql_dbname = 'lbt'
        #通用登录账号密码
        lbtUserName = '15093131283'
        lbtUserPassword = 'abc666666'
        lbtNameForNormal = '杨大伟'
        # 多学校账号密码
        lbtUserNameForMutiSchool = '13598411889'
        lbtUserPasswordForMutiSchool = 'abc666666'
        lbtUserRealNameForMutiSchool = '王伟'
        # 单学校账号密码
        lbtUserNameForSingleSchool = '13592413468'
        lbtPasswordForSingleSchool = 'abc666666'
        lbtRealNameForSingleSchool = '豆老师'
        # 纯数字账号密码
        lbtUserNameForNumPassword = '13164344744'
        lbtPasswordForNumPassword = '666666'
        lbtRealNameForNumPassword = '张老师'  # 多学校的账号
        lbtUserNameInfo = '杨大伟1'
        lbt_BtnRole_class = 'btn_rolse'
        lbt_schoolname_text = '乐贝通专属幼儿园'
        receiverPhoneForTest = ['13598411889', '15093131283']
        orderPhone = '13598411889'
        # 单园所用户登陆。用户名密码实现参数化
        login_user_pass_list = [{'user': '15638336169', 'pass': 'abc666666'},
                                {'user': '13589652145', 'pass': 'abc666666'}]
        # 普通老师角色登录(无登陆权限) 用户名密码实现参数化
        No_authority_teacher_list = [{'user': '13663675697', 'pass': 'abc666666'},
                                     {'user': '18864646464', 'pass': 'abc666666'}]
    else:
        urlForLbtLogin = ""
        sql_ip = ""
        sql_user = ""
        sql_pass = ""
        sql_dbname = ""
    """下拉框的几个配置"""
    # 选择点击框
    chosen_class = 'chosen-single'
    # 选择输入框
    chosen_input_class = 'chosen-search'
    # 选择列表
    chosen_namelist_xpath = '//ul[@class="chosen-results"]/li'

    """模块配置"""
    #模块上方的关闭按钮
    module_close_css='i.fa.fa-times-circle'
    '''短信模块'''
    smsNavigation_class = 'icon-sms'
    # 短信发送
    smsModule_url = '/toSendSms.jhtml'
    # 我发送的
    sms_mysend_url = "/sms/toMySend.jhtml"
    # 教职工的
    sms_module_teachersend_url = '/sms/toOtherSend.jhtml'
    #短信统计
    sms_module_smscount_url='/sms/toSmsSendCount.jhtml'

    '''园所微站'''
    schoolstation_navigation_class = 'icon-kindergarten'
    # 园所简介
    schoolstation_introduce_url = '/schoolsite/toSchoolSynopsis.jhtml'
    # 特色教育
    schoolstation_educationinfo_url = "/schoolsite/toSchoolIntro.jhtml"
    # 园所动态
    schoolstation_dynamic_url = '/schoolsite/toSchoolNews.jhtml'
    # 校园风采
    schoolstation_elegant_url = '/schoolsite/toSchoolImgs.jhtml?type=1'
    # 园所食谱
    schoolstation_recipes_url = '/schoolsite/toSchoolImgs.jhtml?type=3'
    # 幼儿作品
    schoolstation_babyworks_url = '/schoolsite/toSchoolImgs.jhtml?type=2'

    '''招生宣传'''
    enrollment_navigation_class = 'icon-publicity'
    # 园所简介
    enrollment_enrollment_url = '/schoolsite/toBindSchoolEnrol.jhtml'



    """
    幼儿
    """
    student_topnavigation_class='icon-menu-child'
    '''幼儿档案'''
    studentinfo_navigation_class = 'icon-record-child'
    # 幼儿信息导入
    studentinfo_import_url = '/student/childImport.jhtml'
    # 在园幼儿
    studentinfo_studentinfo_url = '/student/studentManage.jhtml'
    # 幼儿信息导入
    studentinfo_Graduate_url = '/student/studentManageByGraduate.jhtml'

    '''幼儿考勤'''
    studentatten_navigation_class = 'icon-attendance-child'
    # 全园统计
    studentatten_school_url = '/attendance/toStaSchoolStuAtt.jhtml'
    # 班级统计
    studentatten_class_url = '/attendance/toStaEduunitStuAtt.jhtml'
    # 考勤明细
    studentatten_detail_url = '/attendance/toStaStudentAtt.jhtml'
    # 考勤设置
    studentatten_set_url ='/attendance/toStaSchoolConfig.jhtml'
    # 考勤卡管理
    studentatten_card_url ='/attendance/cardStudentList.jhtml'